<!-- Add "scoped" attribute to limit CSS to this component only -->
<style>
  html {
    background: none;
    /* padding-top: 80px; */
    font-size: 62.5%;
  }
  body {
    display: block;
    margin: 0px!important;
  }
  /*头部通用样式 start*/
  #top {
    min-width: 1200px;
    width: 100%;
    height: 60px;
    line-height: 45px;
    /* background: #5bc590; */
    background: linear-gradient(to right, #51bc9e 0%,#68d27e 100%);
    position: fixed;
    z-index: 10;
  }
  #top .logo {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: 127px;
  }
  #top .logo a{
    display: inline-block;
    background: url("../../src/assets/logo.png") no-repeat;
    width: 145px;
    height: 35px;
    background-size: 100% 100%;
    margin-left: 20px;
    margin-right: 15px;
    vertical-align: middle;
/*    margin-bottom: 10px;*/
  }
  #top .divide {
    display: inline-block;
    width: 1px;
    height: 25px;
    background-color: #fff;
    vertical-align: middle;
  }
  #top .logo .title {
    display: inline-block;
    color: #fff;
    font-size: 20px;
    margin-left: 15px;
    vertical-align: middle;
  }
  #top .nav {
    display: inline-block;
    margin-left: -40px;
  }
  #top .nav ul {
  }
  #top .nav ul li {
    display: inline;
  }
  #top .nav ul li a {
    color: #fff;
    display: inline-block;
    text-align: center;
    font-size: 1.6rem;
    height: 35px;
    line-height: 34px;
    padding: 0 19px;
    margin-right: 15px;
    border-radius: 50px;
  /*  vertical-align: middle;*/
    text-decoration: none;
  }
  #top .nav ul li a.selected {
    color: #32b428;
    background-color: #fff;
  }
  #top .user {
    display: inline-block;
    height: 100%;
    float: right;
  }
  #top .user-img {
    display: inline-block;
    /*background: url('../../vue-one/src/assets/user.png') no-repeat;*/
    width: 40px;
    height: 40px;
    vertical-align: middle;
    border-radius: 20px;
    margin-top: 4%;
  }
  #top .user-name {
    line-height: 60px;
    height: 60px;
    margin-left: 12px;
    margin-right: 15px;
    color: #fff;
    font-size: 1.6rem;
  }
  #top .user div {
    float: left;
  }
  #top .user .exit {
    cursor: pointer;
    display: inline-block;
    background: url('../../src/assets/logout.png') no-repeat;
    width: 18px;
    height: 19px;
    vertical-align: middle;
    /*   margin-top: 15%; */
    margin-left: 15px;
    margin-right: 30px;
    color: #fff;
  }
  /*头部通用样式 end*/
  /*左边栏通用样式 start*/
  #left {
    width: 160px;
    height: 100%;
    background: #f4f8f8;
    text-align: center;
    position: fixed;
    /* left: 0;
    bottom: 0; */
    z-index: 10;
  }
  #left ul {
    margin-left: 0px;
    padding-left: 0px;
    margin-top: 15px;
  }
  #left ul li.pb {
    cursor: pointer;
    margin: 15px auto!important;
  }
  #left ul li.type {
    height: 45px;
    line-height: 45px;
    background: #e8e8e8;
    color: #000;
    font-size: 1.6rem;
    cursor: auto;
    margin-bottom: 20px;
  }
  #left ul li a {
    display: inline-block;
    font-size: 1.4rem;
    color: #666;
    height: 30px;
    line-height: 30px;
    padding: 0 15px;
    border-radius: 3px;
  }
  #left ul li a.selected {
    background: #32b428;
    color: #fff;
  }
  .line {
    border-bottom: 1px solid #efefef;
    height: 1px;
    width: 85%;
    margin: 0px auto;
  }
  #left {
    width: 160px;
    height: 100%;
    background: #f4f8f8;
    text-align: center;
    position: fixed;
    top: 60px;
    z-index: 10;
    overflow-y: auto;
  }

  #left ul li.pb {
    padding-bottom: 18px;
  }

  #left ul li.type {
    height: 45px;
    line-height: 45px;
    background: #e8e8e8;
    color: #000;
    font-size: 1.6rem;
    cursor: auto;
    margin-bottom: 20px;
  }

  #left ul li a {
    display: inline-block;
    font-size: 1.4rem;
    color: #666;
    height: 30px;
    line-height: 30px;
    padding: 0 15px;
    margin-bottom: 12px;
    border-radius: 3px;
    text-decoration: none;
  }

  #left ul li a.selected {
    background: #32b428;
    color: #fff;
  }


  /*左边栏通用样式 end*/

  #content {
    padding: 0 30px;
    min-width: 980px;
    overflow: hidden;
    /*解决margin坍塌*/
    /* float: left; */
    /* position: absolute;
    top: 70px;
    left: 160px;
    bottom: 0;
    right: 0;/*让右边的div宽度铺满全屏*/
    font-size: 1.4rem;
    color: #666;
    margin-left: 160px;
    padding-top: 50px;
  }

  .clear {
    clear: both;
  }


  /*页面内tab切换通用样式 start*/

  #content .tab {
    margin: 37px 0 31px 15px;
    color: #000;
    font-size: 2rem;
  }

  #content .tab li {
    margin-right: 40px;
    height: 50px;
  }

  #content .tab li.selected {
    color: #32b428;
  }

  #content .tab li .dline {
    display: block;
    width: 40px;
    height: 5px;
    background: #32b428;
    vertical-align: bottom;
    margin: 14px auto 0;
    border-radius: 5px;
  }


  /*页面内tab切换通用样式 end*/

  .buttonBar {
    font-size: 16px;
  }
  /*左边栏通用样式 end*/
  .float-left {
    float: left;
  }
  .float-right {
    float: right;
  }
  .centextBar {
    position: absolute;
    float: right;
    width: 91.6%;
    min-width: 500px;
    left: 150px;
    /*height: 94%;*/
    min-height: 1024px;
    padding: 15px;
    padding-top: 0px;
    margin: 0;
    margin-top: 0;
    /*     margin: 0.5%;  */
    /*     margin-top: 3%; */
  }
  .centextBar .title {
    line-height: 80px;
    font-size: 23px;
    border-bottom: 1px solid #ccc;
    margin-top: -20px;
  }
  .centextBar .title .title {
    font-size: 18px;
    float: left;
    margin-top: 35px;
    margin-bottom: 20px;
    width: 200px;
    line-height: 26px;
    padding-left: 10px;
    height: 25px;
    border: 0px;
    border-left: 5px solid #3ac47d;
  }
  .tableBox {
    overflow-y: auto;
    height: 760px;
    margin-bottom: 15px;
    background: transparent!important;
  }
  .tableBox th {
    border-bottom: 0px!important;
  }
  .tableBox td {
    border: 0px!important;
    /*  line-height: 30px!important; */
    line-height: 30px;
    text-align: center;
  }
  .tableBox tr:nth-child(odd) td {
    background-color: #f8faf8;
  }
  .centextBar .table {
    overflow-y: scroll;
    margin-bottom: 0px;
  }
  .centextBar table thead {
  }
  .centextBar table th {
    text-align: center;
    line-height: 50px!important;
    color: #666;
    font-size: 16px;
  }
  .text-left{
    text-align: left!important;
  }
  .text-right{
    text-align: right!important;
  }
  .text-grey{
    color: #666;
  }

  /*head*/
  .centextBar , .leftBar {
    background-color: #fff;
    /*margin: 1.5%;*/
    /*border-radius: 15px;*/
    /*box-shadow: 1px 1px 12px 2px #CCCCCC;*/
  }
  .header {
    height: 100px;
    background-color: #fff;
    box-shadow: 1px 1px 12px 1px #ccc;
    /*padding: 0px 20px;*/
    line-height: 100px;
    overflow: hidden;
  }

  .header .logo {
    float: left;
    width: 150px;
    height: 100px;
    background-color: #3fc78f;
    line-height: 100px;
    text-align: center;
  }

  .header .logo a {
    color: #fff;
    font-size: 30px;
  }

  .personal {
    float: right;
    min-width: 300px;
    height: 80px;
  }

  .personal> div {
    float: right;
    text-align: center;
    /*margin: 15px auto;*/
    width: 70px;
  }

  .personal .logout,
  .personal .selectBar {
    /*margin: 30px auto;*/
  }

  .header .selectBar {
    padding: 0px 0px 0px 50px;
  }

  .personal .logout {
    /*border-left: 2px solid #eee;*/
    line-height: 110px;
  }

  .personal i {
    font-size: 25px;
  }

  .leftBar {
    float: left;
    min-height: 820px;
    width: 150px;
    /*padding: 40px 0px;*/
    color: #666;
    margin: 0px!important;
    background-color: #34343a;
    border-radius: 0px!important;
  }

  .leftBar div {
    text-align: center;
    line-height: 90px;
    height: 90px;
    cursor: pointer;
  }
  .leftBar div:hover {
    background-color: rgba(255,255,255,0.1);
  }
  .leftBar div.active:after {
    position: absolute;
    margin-left: 17px;
    margin-top: 30px;
    content: " ";
    border-right: 15px solid  #eee;
    border-left: 15px solid transparent ;
    border-top: 15px solid transparent ;
    border-bottom: 15px solid transparent ;
  }
  .leftBar div.active {
    background-color: #26262b;
    color: #20eb97;
  }
  .centext div,.centext select,.centext input {
    background: #fff;
    border: 0px;
  }
  .logout i {
    color: #dedede;
    font-size: 21px;
    cursor: pointer;
  }
  .user {
    width: auto!important;
    margin: 0px 5px;
    min-width: 100px!important;
    height: 100px;
    font-size: 21px;
  }
  .ico {
    background: url(../../src/assets/user-icon.png)no-repeat;
    width: 42px!important;
    height: 42px;
    background-size: 100% 100%;
    margin-top: 30px;
  }
  .separator {
    margin-top: 35px;
    width: 1px!important;
    height: 30px;
    border-left: 1px #dedede solid;
  }
  .searchTxt {
    width: 150px;
    height: 35px;
    line-height: 35px;
    box-sizing: border-box;
    border-radius: 5px;
    background: transparent;
    border: 1px solid #CCCCCC;
    outline:none;
    font-size: 16px;
  }

  .inputEdit {
    width: 150px;
    height: 35px;
    line-height: 35px;
    box-sizing: border-box;
    border-radius: 5px;
    background: transparent;
    border: 1px solid #CCCCCC;
    outline:none;
    font-size: 16px;
  }

  .inputEditLong {
    width: 330px;
    height: 35px;
    line-height: 35px;
    box-sizing: border-box;
    border-radius: 5px;
    background: transparent;
    border: 1px solid #CCCCCC;
    outline:none;
    font-size: 16px;
  }
  .searchTxt:focus {
    background: #eee;
    border: 1px solid #eee;
  }
  .searchTxt:-ms-input-placeholder{
    color: #f00;
  }
  .searchBt {
    position: absolute;
    width: 35px;
    height: 35px;
    line-height: 25px;
    margin: 32px -40px 0px;
    box-sizing: border-box;
    background: url(../../src/assets/search.png)no-repeat center;
    border: 0;
    z-index: 1500000;
    outline:none;
  }
  .loading {
    display: none;
    text-align: center;
    font-size: 20px;
    color: #ccc;
  }
  /*#searchBar:after {
      position: absolute;
      margin-left: 17px;
      margin-top: 30px;
      content: " ";
      background: url(img/search.png)no-repeat center;
  }*/
  .float-left {
    float: left;
  }
  .float-right {
    float: right;
  }
  .centextBar {
    position: absolute;
    float: right;
    width: 91.6%;
    min-width: 500px;
    left: 150px;
    /*height: 94%;*/
    min-height: 1024px;
    padding: 15px;
    margin: 0;
    margin-top: 0;
    /*     margin: 0.5%;  */
    /*     margin-top: 3%; */
  }
  .centextBar .title {
    line-height: 80px;
    font-size: 23px;
    border-bottom: 1px solid #ccc;
  }
  .centextBar .title .title {
    font-size: 18px;
    float: left;
    margin-top: 35px;
    margin-bottom: 20px;
    width: 200px;
    line-height: 26px;
    padding-left: 10px;
    height: 25px;
    border: 0px;
    border-left: 5px solid #3ac47d;
  }
  .tableBox {
    overflow-y: auto;
    height: 760px;
    margin-bottom: 15px;
    background: transparent!important;
  }
  .tableBox th {
    border-bottom: 0px!important;
  }
  .tableBox td {
    border: 0px!important;
    /*  line-height: 30px!important; */
    line-height: 30px;
    text-align: center;
  }
  .tableBox tr:nth-child(odd) td {
    background-color: #f8faf8;
  }
  .centextBar .table {
    overflow-y: scroll;
    margin-bottom: 0px;
  }
  .centextBar table thead {
  }
  .centextBar table th {
    text-align: center;
    line-height: 50px!important;
    color: #666;
    font-size: 16px;
  }
  .text-left{
    text-align: left!important;
  }
  .text-right{
    text-align: right!important;
  }
  .text-grey{
    color: #666;
  }

  /*head*/
  .centextBar , .leftBar {
    background-color: #fff;
    /*margin: 1.5%;*/
    /*border-radius: 15px;*/
    /*box-shadow: 1px 1px 12px 2px #CCCCCC;*/
  }
  .header {
    height: 100px;
    background-color: #fff;
    box-shadow: 1px 1px 12px 1px #ccc;
    /*padding: 0px 20px;*/
    line-height: 100px;
    overflow: hidden;
  }

  .header .logo {
    float: left;
    width: 150px;
    height: 100px;
    background-color: #3fc78f;
    line-height: 100px;
    text-align: center;
  }

  .header .logo a {
    color: #fff;
    font-size: 30px;
  }

  .personal {
    float: right;
    min-width: 300px;
    height: 80px;
  }

  .personal> div {
    float: right;
    text-align: center;
    /*margin: 15px auto;*/
    width: 70px;
  }

  .personal .logout,
  .personal .selectBar {
    /*margin: 30px auto;*/
  }

  .header .selectBar {
    padding: 0px 0px 0px 50px;
  }

  .personal .logout {
    /*border-left: 2px solid #eee;*/
    line-height: 110px;
  }

  .personal i {
    font-size: 25px;
  }

  .leftBar {
    float: left;
    min-height: 820px;
    width: 150px;
    /*padding: 40px 0px;*/
    color: #666;
    margin: 0px!important;
    background-color: #34343a;
    border-radius: 0px!important;
  }

  .leftBar div {
    text-align: center;
    line-height: 90px;
    height: 90px;
    cursor: pointer;
  }
  .leftBar div:hover {
    background-color: rgba(255,255,255,0.1);
  }
  .leftBar div.active:after {
    position: absolute;
    margin-left: 17px;
    margin-top: 30px;
    content: " ";
    border-right: 15px solid  #eee;
    border-left: 15px solid transparent ;
    border-top: 15px solid transparent ;
    border-bottom: 15px solid transparent ;
  }
  .leftBar div.active {
    background-color: #26262b;
    color: #20eb97;
  }
  .centext div,.centext select,.centext input {
    background: #fff;
    border: 0px;
  }
  .logout i {
    color: #dedede;
    font-size: 21px;
    cursor: pointer;
  }
  .user {
    width: auto!important;
    margin: 0px 5px;
    min-width: 100px!important;
    height: 100px;
    font-size: 21px;
  }
  .ico {
    background: url(../../src/assets/user-icon.png)no-repeat;
    width: 42px!important;
    height: 42px;
    background-size: 100% 100%;
    margin-top: 30px;
  }
  .separator {
    margin-top: 35px;
    width: 1px!important;
    height: 30px;
    border-left: 1px #dedede solid;
  }

  .inputEdit {
    width: 150px;
    height: 35px;
    line-height: 35px;
    box-sizing: border-box;
    border-radius: 5px;
    background: transparent;
    border: 1px solid #CCCCCC;
    outline:none;
    font-size: 16px;
  }

  .inputEditLong {
    width: 330px;
    height: 35px;
    line-height: 35px;
    box-sizing: border-box;
    border-radius: 5px;
    background: transparent;
    border: 1px solid #CCCCCC;
    outline:none;
    font-size: 16px;
  }
  .searchTxt:focus {
    background: #eee;
    border: 1px solid #eee;
  }
  .searchTxt:-ms-input-placeholder{
    color: #f00;
  }
  .searchBt {
    position: absolute;
    width: 35px;
    height: 35px;
    line-height: 25px;
    margin: 32px -40px 0px;
    box-sizing: border-box;
    background: url(../../src/assets/search.png)no-repeat center;
    border: 0;
    z-index: 1500000;
    outline:none;
  }
  .loading {
    display: none;
    text-align: center;
    font-size: 20px;
    color: #ccc;
  }
  /*#searchBar:after {
      position: absolute;
      margin-left: 17px;
      margin-top: 30px;
      content: " ";
      background: url(img/search.png)no-repeat center;
  }*/

  /*footer*/
  .footer {
    border-top: 1px #eaeaea solid;
    height: 60px;
    color: #ccc;
    text-align: center;
    line-height: 60px;
    clear: both;
  }

  th.v-label {
    width: 150px!important;
    text-align: left!important;
  }
  div.v-label {
    clear: both;
    margin-left: 7px;
    width: 100px!important;
    text-align: left!important;
    color: #333;
    font-size: 15px;
  }
  th.text-grey {
    width: 600px;
    text-align: left!important;
    white-space:nowrap;
    text-overflow:ellipsis;
    -o-text-overflow:ellipsis;
    overflow: hidden;
  }
  div.text-grey {
    width: 600px;
    text-align: left!important;
    white-space:nowrap;
    text-overflow:ellipsis;
    -o-text-overflow:ellipsis;
    overflow: hidden;
  }

  .imgs {
    margin-top: 10px;
    height: 500px;
    width: 100%;
    clear: both;
  }

  .imgs .img {
    height: 50%;
    /*background-color: #111;*/
    line-height: 250px;
  }
  .imgs .img div {
    margin: 2%;
    float: left;
    width: 250px;
    height: 150px;
    background: url(../../src/assets/img_bg.jpg)no-repeat;
    background-size: 100% 100%;
    line-height: 330px;
    text-align: center;
  }
  .imgs .img div.ico {
    margin: 2%;
    float: left;
    width: 100px;
    height: 150px;
    text-align: right;
    line-height: 0px;
  }
  .ico img {
    width: 22px;
    height: 25px;
  }
  .link div {
    float: left;
    margin: 7px 10px;
  }
  .bacths {
    height: 100px;
  }
  .color-grey {
    color: #666!important;
  }
  .bacths .text-grey {
    overflow-y: auto;
    height: 100px;
    width: 80%;
    color: #aaa;
    font-weight: bold;
  }
  .bacths .text-grey div {

  }
  #adStatus,#status,#bannerStatus {
    margin-right: 10px;
    display: inline-block;
    width: 120px;
  }
  #bannerStatus {
    width: 150px;
  }
  .buttonBar {
    font-size: 16px;
  }
  .buttonBar > span {
    margin-left: 20px;
    color: #888;
  }
  #queryBt {
    cursor: pointer;
    margin-top: 20px;
    height: 35px;
    line-height: 35px;
    width: 85px;
    float: right;
    border-radius: 5px;
    text-align: center;
    background: #5bc590;
    color: #fff;
  }
  .bt {
    background: transparent;
    border: 1px solid #888;
    color: #888;
    border-radius: 5px;
  }
  .bt:hover , .bt:active {
    background: transparent;
    border: 1px solid #32b428;
    color: #32b428;
  }
  .v-label {
    color: #666666;
    line-height: 45px!important;
    font-size: 16px;
    width: 10%;
    text-align: right;

  }
  .centextBar .table td {
    border-top: 0px;
    /*border-bottom: 1px dashed #dedede!important;*/
  }
  .details tr {
    border-bottom: 1px dashed #dedede!important;
  }
  td.text-grey {
    line-height: 50px!important;
    color: #222222;
    font-size: 17px;
    /* width: 82%; */
    /* min-width: 45%; */
    width: 40%;
    overflow: hidden;
    text-overflow: ellipsis;
    /* display: -webkit-box; */
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    /*width: 330px;*/
  }
  .publicPanel {
    /* overflow: hidden; */
    margin: 2% 0px;
    background: #f3f9f2;
    min-height: 600px;
  }
  .publicPanel .table {
    margin-top: 1%;
  }
  .publicPanel tr {
    margin: 1% 0px;
  }
  .publicPanel td.v-label {
    width: 10%;
    text-align: right;
  }
  .publicPanel td.centext {
    text-align: left;
    line-height: 49px!important;
  }
  .publicPanel input {
    border: 1px solid #eee;
    /* height: 38px; */
  }
  .multiselect-clear-filter {
    height: 140%;
  }
  input.form-control.multiselect-search {
    border: 1px solid #ccc;
    height: 100%;
  }
  span.multiselect-native-select {
    /*margin-left: 5%;*/
  }
  .multiselect-container .input-group {
    line-height: 0px!important;
  }
  #batchNum {
    width: 13.65%;
  }
  .publicPanel li {
    margin-bottom: 0px;
  }
  #startDate, #endDate {
    width: 14.29%;
    height: 34px;
  }
  .text-grey > a {
  /*  text-overflow: -o-ellipsis-lastline;*/
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    width: 60%;
  }
  .text-grey div {
    float: left;
    position: relative;
  }
  .text-grey span {
    float: left;
    position: relative;
  }
  .centext > textarea {
    float: left;
    margin: 0px;
    width: 60%;
    height: 139px;
    padding: 0px;
    line-height: 1.5;
  }



  .detail-table {
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
    border: none;
    font-size: 1rem;
    margin-bottom: 51px;
  }
  .detail-table tr td {
    height: 78px;
    border-bottom: 1px dashed #e8e8e8;
  }
  .detail-table tr .label-td {
    width: 10%;
    text-align: right;
    color: #666666;
    line-height: 50px!important;
    font-size: 16px;
  }
  .detail-table tr .content {
    padding-left: 30px;
    line-height: 50px!important;
    color: #222222;
    font-size: 17px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .ad-status-valid {
    color: #56c274;
  }
  .ad-status-unvalid {
    color: #909090;
  }
  .ad-status-del {
    color: #ed3a3a;
  }
  .m-r {
    margin-right: 8px;
  }
  .selector {
    width: 100px;
    height: 34px;
  }
  /*bootstrap样式*/
  .btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    display: inline-block!important;
    text-align: center!important;
    cursor: pointer!important;
  }
  .table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }
  .form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  }
</style>
<template>
  <div id="main">
  <div id="top">
    <div class="logo">
      <a href="javascript:void(0);"></a>
      <span class="title">|</span>
      <span class="title">企业管理平台</span>
    </div>
    <div class="nav" >
      <ul>
        <li>
          <a href="javascript:void(0);" @click="setNavType('finance', 'banner')" :class="{'selected': navType == 'finance'}">企业用户管理</a>
        </li>
        <li>
          <a href="javascript:void(0);" @click="setNavType('operation', 'project')" :class="{'selected': navType == 'operation'}">项目管理</a>
        </li>
        <li>
          <a href="javascript:void(0);" @click="setNavType('projectInfo', 'op_project_details')" :class="{'selected': navType == 'projectInfo'}">项目信息</a>
        </li>
        <li>
          <a id = "abc" href="javascript:void(0);" @click="setNavType('accounts', 'areaOperation')" :class="{'selected': navType == 'accounts'}">运营情况</a>
          <!--                         <a href="javascript:void(0);" @click="setNavType('accounts', 'areaOperation.html')" :class="{'selected': navType == 'accounts'}">运营情况</a> -->
        </li>
      </ul>
    </div>
    <div class="user">
      <!--  <div class="user" > -->
      <span class="user-name">{{loginName}}</span>
      <span class="divide"></span>
      <a class="exit" onClick="indexlogout();"  href="#" ></a>
    </div>
    <div class="wrap">
      <div id="left">
        <ul v-if="navType === 'finance'">
          <!--                     <li class="type" ></li> -->
          <li style="margin-top:20px">
            <a class="selected" href="javascript:void(0);" @click="setNavType('finance', 'banner')">企业用户管理</a>
            <!--                         <input type="text" class="input" id="date-range"> -->
          </li>
        </ul>
        <ul v-if="navType === 'operation'">
          <!--                     <li class="type">项目</li> -->
          <li style="margin-top:20px">
            <a class="selected" href="javascript:void(0);" @click="setNavType('operation', 'project')">项目管理</a>


          </li>
        </ul>
        <ul v-if="navType === 'projectInfo'">
          <li style="margin-top:20px">
            <a class="selected" href="javascript:void(0);"  @click="setNavType('projectInfo', 'op_project_details')">项目信息</a>
          </li>
        </ul>
        <ul v-if="navType === 'accounts'">
          <li style="margin-top:20px">
            <a class="selected" href="javascript:void(0);"  @click="setNavType('accounts', 'areaOperation')" >运营报表</a>
          </li>
        </ul>
      </div>
    <!--  <div id="content" >-->
        <router-view></router-view>
<!--      </div>-->

      <div class="clear"></div>
    </div>
  </div>
  </div>
</template>

<script>
  export default {
    name: 'HelloWorld',
    data () {
      return {
        navType: 'finance',
        msg: 'Welcome to Your Vue.js App',
        loginName:'超级管理员',
        setNavType: function(type, defaultUrl) {
          this.navType = type;
          this.$router.push({
            path: '/'+defaultUrl
          })
        },
      }
    },
  }
</script>


